<!--[if $objectArray]-->
  <script type="text/javascript">
      //Start function call brand
      $("select#dropdown_brand_filter").change(function() {
        var subcategory_id = $("select#dropdown_subcategory_filter option:selected").val();
      
          $.ajax({
              type: "get",
              url:  "index.php",
              data: "module=InnoForum&type=jquery&func=list&ctrl=SubcategoryModel&subcategory_id="+subcategory_id+"&brand_id="+$(this).val(),
              success: function(response) {
                  //alert(response);
                  $("#dropdown_model_container").html("");
                  $("#dropdown_model_container").empty().html(response);
              }
          });//End get subcategory  function
      });//End function call subcategory
  </script>
  <select name="brand_id" id="dropdown_brand_filter"> 
    <option value="">กรุณาเลือก</option>
    <!--[foreach from=$objectArray item=item]-->
      <option value="<!--[$item.brand_id]-->"><!--[$item.brand_name]--> </option>
    <!--[/foreach]-->
  </select>
<!--[else]-->  
  -
<!--[/if]-->
